package com.example.springbootdemo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.springbootdemo.custom.JjsmUserCustom;
import com.example.springbootdemo.mapper.TestMapper;
import com.example.springbootdemo.service.ITestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @需求描述:
 * @创建人:whh
 * @创建时间: 2020/8/9
 * @修改需求:
 * @修改人:
 * @修改时间:
 * @需求思路:
 */

@Service
public class TestServiceImpl implements ITestService {


    @Autowired
    private TestMapper testMapper;

    @Override
    public  List<JjsmUserCustom> hello() {

        List<JjsmUserCustom> users = this.testMapper.selectList(new QueryWrapper<>());
        return users;
    }
}
